/* 
 * 抽奖程序导航管理.
 */

import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { BingoComponent } from './pages/bingo.component';
import { MemberComponent } from './pages/member.component';
import { RouletteComponent } from './pages/roulette.component';
import { WinnerComponent } from './pages/winner.component';

const routes: Routes = [
	{ path: 'bingo', component: BingoComponent },
	{ path: 'member', component: MemberComponent },
	{ path: 'winner', component: WinnerComponent },
	{ path: 'roulette', component: RouletteComponent }
];

@NgModule({
	imports: [ RouterModule.forRoot(routes) ],
	exports: [ RouterModule ]
})
export class AppRoutingModule { }
